class UrlMappings {
    static mappings = {
	"/"{
	  controller = "note"
	  action = "list"
	}
      "/$controller/$action?/$id?"{
	      constraints {
			 // apply constraints here
		  }
	  }
	  "500"(view:'/error')
	}
}
